//
//  BlockManager.h
//  AvoidBlock
//
//  Created by 함 우식 on 12. 12. 10..
//
//

#ifndef AvoidBlock_BlockManager_h
#define AvoidBlock_BlockManager_h

#include "cocos2d.h"
#include "AvoidBlock.h"

class Block;

class BlockManager : public CCNode
{
public:
    CCArray* _pBlocks;
    float _period;
    float _time;
    
    BlockManager();
    void update(float dt);
    
private:
    bool init(void);
    
    void addBlock(const int type);
    void appearBlock(const int type);
    
};


#endif
